<script>
  export default {
    onLaunch: function() {
      console.log('App Launch')
    },
    onShow: function() {
      // const token = "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiI2MWMyODJkMzRiYmQzYTc2ODVlZGFhZGQiLCJleHAiOjE2NDAxMzk1MTV9.wEn13X0ks5DNBxCEUvfyoreM4Oevy2KYP4ZCfjzkqT4"
      // uni.setStorageSync('token', token)
      // uni.setStorageSync('refresh_token', token)
      console.log('App Show')
    },
    onHide: function() {
      console.log('App Hide')
    }
  }
</script>

<style>
  /*每个页面公共css */
  .container {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    background-color: #edf2f2;
    height: calc(100vh);
    padding-bottom: env(safe-area-inset-bottom);
    overflow-x: hidden;
    overflow-y: auto;
    /*    -webkit-box-orient: vertical;
    -webkit-box-direction: normal; */
  }

  .top-bar {
    height: 68px;
    background-color: #08a89c;
    margin-bottom: -68px;
    flex-shrink: 0;
  }
</style>
